package com.jiyinit.web.core.business.dto;

import com.jiyinit.web.core.common.dto.PageRequest;

import javax.validation.constraints.NotNull;

/**
 * Created by lr on 2017/12/28.
 */
public class MessageRequest extends PageRequest {

    @NotNull(message="功能ID不能为空")
    private Integer funId;
    @NotNull(message="ID不能为空")
    private Integer id;
    @NotNull(message="说说不能为空")
    private String content;
    private Integer parentId;
    private Integer userId;
    private Integer taskMessageId;
    private Integer isPush;



    public Integer getIsPush() {
        return isPush;
    }

    public void setIsPush(Integer isPush) {
        this.isPush = isPush;
    }

    public Integer getTaskMessageId() {
        return taskMessageId;
    }

    public void setTaskMessageId(Integer taskMessageId) {
        this.taskMessageId = taskMessageId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getFunId() {
        return funId;
    }

    public void setFunId(Integer funId) {
        this.funId = funId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}
